<template>
  <div class="punch_clock">
    <!--    顶部返回按钮-->
    <div class="head_return" @click="headReturn"></div>
    <!-- 顶部打卡 -->
    <div class="click_top">
      <img src="../../assets/image/collection/clock.png" alt="" />
    </div>
    <!-- 内容区 -->
    <div class="collection_con">
      <div class="gold_coin"></div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    // 返回上一页
    headReturn() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="less" scoped>
.punch_clock {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: url("../../assets/image/collection/punchback.png") no-repeat;
  background-size: 100% 100%;

  .head_return {
    position: absolute;
    z-index: 10;
    top: 0.3rem;
    left: 0.4rem;
    width: 0.7rem;
    height: 0.7rem;
    background: url("../../assets/image/lesson/return.png") no-repeat;
    background-size: 100% 100%;
    cursor: pointer;

    & > img {
      width: 100%;
      height: 100%;
    }
  }

  .click_top {
    
    margin: 0 auto;
    width: 3.06rem;
    height: 1.9rem;
    & > img {
      width: 100%;
    }
  }

  .collection_con {
    position: relative;
    margin: 0 auto;
    width: 11.68rem;
    height: 7.07rem;
    font-size: 0.18rem;
    color: #333;
    overflow: hidden;
    background: url("../../assets/image/collection/punchbox.png") no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
    .gold_coin {
      margin-top: 0.53rem;
      width: 1.38rem;
      height: 0.54rem;
      background: #e7f1ff;
      border: 1px solid #fafdff;
      box-shadow: 0px 7px 10px 0px rgba(162, 194, 238, 0.46);
      border-radius: 0.27rem;
    }
  }
}
</style>